//
//  HZY_BaseViewController.h
//  LaomiKit
//
//  Created by laomi on 2020/8/4.
//  Copyright © 2020 laomi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LAOMIViewControllerProtocl.h"

extern const int default_page_start;
#define LAOMIAsyncRunInMain(x) \
dispatch_async(dispatch_get_main_queue(), ^{ \
{x} \
});
NS_ASSUME_NONNULL_BEGIN

@interface HZY_BaseViewController : UIViewController<LAOMIViewControllerProtocl>
-(void)textChanged:(NSNotification*)note;

@property(nonatomic,strong)NSMutableArray *data;


-(void)laomi_textChange:(NSNotification*)note;

+(void)laomi_flushTableOrCollectionData:(UIScrollView<LAOMIEmptyErrorViewProtocal> *)table dataSource:(NSArray *)datasource isMore:(BOOL)isMore isError:(BOOL)isError errorCallBack:(LAOMITableCollectionCallback)errorCallback refreshCallBack:(LAOMITableCollectionCallback)reflushCallBack pulldownCallBack:(LAOMITableCollectionCallback)pulldownCallBack;
@end

NS_ASSUME_NONNULL_END
